package com.crm.model.qo.knowledgeitem;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Description: 知识章节
 * @Author lixq-f
 * @Date 2021/5/7
 * @Version V1.0
 **/
@Data
public class KnowledgeSectionQO implements Serializable {


    /*知识条目ID*/
    private String knowledgeItemId;

    /*章节ID*/
    private String sectionId;

    @NotNull(message = "章节名称不能为空")
    @Length(max=30, message="文字长度最多30个字符")
    private String sectionName;

    @Length(max=60000, message="文字长度最多60000个字符")
    private String sectionContent;




}
